import { Routes } from "@angular/router";

import { ConceptDataComponent } from "./concept-data.component";
import { TotalDataComponent } from "./total-data/total-data.component";
import { LotComponent } from "./lot/lot.component";

export const conceptDataRoutes: Routes = [
  {
    path: 'concept',
    component: ConceptDataComponent,
    children: [{
      path: '',
      redirectTo: 'total-data',
      pathMatch: 'full'
    }, {
      path: 'total-data',
      component: TotalDataComponent
    }, {
      path: 'lot',
      component: LotComponent
    }, {
      path: '**',
      component: TotalDataComponent
    }]
  }
];